module.exports = (sql,params,callback) => {
    const mysql = require('mysql');
    const conn = mysql.createConnection({
        host: 'localhost',
        user: 'root',
        port: '3306',
        password: 'root',
        database: 'zhezhe'
    });
    conn.connect();
    conn.query(sql,params,callback);
    conn.end();
}